package com.neusoft.shopingapi.entity;

import java.io.Serializable;
import java.util.Date;

public class OrderEntity implements Serializable {
    private Integer orderno;//订单编号
    private String orderstate;//定单状态
    private double totalPrice;//订单总价
    private Integer userno;//用户编号
    private String  phone;//收货电话
    private String address;//收货地址
    private Date ordetime;//订单时间
    public Integer getOrderno() {
        return orderno;
    }

    public void setOrderno(Integer orderno) {
        this.orderno = orderno;
    }

    public String getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(String orderstate) {
        this.orderstate = orderstate;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getUserno() {
        return userno;
    }

    public void setUserno(Integer userno) {
        this.userno = userno;
    }

    public String  getPhone() {
        return phone;
    }

    public void setPhone(String  phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getOrdetime() {
        return ordetime;
    }

    public void setOrdetime(Date ordetime) {
        this.ordetime = ordetime;
    }

    @Override
    public String toString() {
        return "OrderEntity{" +
                "orderno=" + orderno +
                ", orderstate='" + orderstate + '\'' +
                ", totalPrice=" + totalPrice +
                ", userno=" + userno +
                ", phoneno=" + phone +
                ", address='" + address + '\'' +
                ", ordetime=" + ordetime +
                '}';
    }
}
